@extends('layout.layout')
	<form action='{{url("admin/dataCreate")}}' method="post" id='form'>
	@csrf
		<div class='div_basic div_form'>
			@foreach($team1 as $v)
			<input type="hidden" name="match_id" value="{{$v['match_id']}}">
				<h3>{{$v['team_name']}}</h3>VS<h3>{{$v['team_name_b']}}</h3>
			@endforeach
			
			<div class="form-group">
				球员<select class="form-control" name="player_id">
				<option value="0">--请选择--</option>
                @foreach($data as $v)
				
                    <option value="{{$v['player_id']}}">{{$v['player_name']}}</option>
                @endforeach
                </select>
			</div>
			 <div class="form-group">
				<label for="exampleInputEmail1">得分</label>
				<input type="text" class="form-control" name='score'>
			</div> 
			<div class="form-group">
				<label for="exampleInputEmail1">助攻</label>
				<input type="text" class="form-control" name='help_num'>
			</div> 
			<div class="form-group">
				<label for="exampleInputEmail1">篮板</label>
				<input type="text" class="form-control" name='bank_num'>
			</div> 

		</div>	
	  <button type="submit" class="btn btn-success" id='btn'>添加</button>
	</form>
